export interface CategoryName {
  _id: string;
  categoryName: string;
  author: User;
}
export interface ArticleElement {
  articleImg: string;
  _id: string;
  articleName: number;
  content: string;
  categoryNames: Array<CategoryName>;
  editorValue: string;
  createdTime: string;
  updatedTime: string;
  author: User;
}

export interface User {
  userName: string;
  email: string;
  password: string;
  roleId: number;
  userId: string;
  status: boolean;
  _id: string;
}
